package com.codepilot.server.model.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Record {
    @ApiModelProperty(value = "记录 ID", required = false, example = "1")
    private int id;
    @ApiModelProperty(value = "用户 ID", required = false, example = "3")
    private Integer userId;
    @ApiModelProperty(value = "题目 ID", required = true, example = "1")
    private Integer problemUid;
    @ApiModelProperty(value = "做题状态", required = true, example = "not_done")
    private String status;
    @ApiModelProperty(value = "开始时间", required = false)
    private String startTime;
    @ApiModelProperty(value = "完成时间", required = false, hidden = true)
    private String finishTime;
    @ApiModelProperty(value = "做题用时", required = false)
    private Integer spentTime;

}
